package com.dao;

import java.util.List;
import com.bean.Teacher;

public interface ITeacherDao {
	public String login(String username,String password);//教师、管理员登陆
	public int add(Teacher teacher);//添加教师
	public int delete(String username);//删除教师
	public Teacher singleteachersearch(String username);//单个教师查询
	public List<Teacher> allteachersearch();//所有教师查询
	public int update(Teacher teacher,String username);//更新教师信息
}
